import request from '@/utils/request'
// 登录接口api
export function reqLogin(data) {
  return request({
    method: 'post',
    url: '/sys/login', // http://localhost:8080因为是本地,可省略
    data
  })
}
// 个人接口api
export function reqGetUserInfo() {
  return request({
    method: 'POST',
    url: '/sys/profile'
  })
}
// 基本信息
export function reqGetUserDetailById(id) {
  return request({
    method: 'GET',
    url: `/sys/user/${id}`
  })
}

